<%@ Control Inherits="CVCommunity.Admin.Quote" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%>

<script type="text/javascript">
function onchangebutton(eid)
{
	document.getElementById("topicsort").style.display = "none";
	document.getElementById("usersort").style.display = "none";
	document.getElementById("picturesort").style.display = "none";
	document.getElementById(eid).style.display = "";
}
</script>
<form runat="server" onsubmit="return checknumber();">
<div class="grid">
<table cellspacing="0" class="inner">
<tr class="forumno category">
<td colspan="2">JS调用</td>
</tr>
 
<tr class="forumtd">
<td rowspan="6" width="250" class="smallbox"><select multiple="true" name="boards" style="width:250px; height:250px;">
<option value="-1">所有版面</option>
<%=Options%>
</select></td>
  <td class="smallbox">
  <input type="radio" name="list" value="topic" checked="checked" onclick="onchangebutton('topicsort')"/>主题调用
	<input type="radio" name="list" value="user" onclick="onchangebutton('usersort')"/>用户调用
	<input type="radio" name="list" value="picture" onclick="onchangebutton('picturesort')"/>图片调用	 </td>
</tr>
<tr class="forumtd">
<td class="smallbox">
  <span id="topicsort">
  <input type="radio" name="sort" value="new" checked="checked"/>最新
  <input type="radio" name="sort" value="hot"/>热门
  <input type="radio" name="sort" value="elite"/>精华	</span>
  <span id="usersort" style="display:none;">
  <input type="radio" name="sort" value="new" checked="checked"/>最新
  <input type="radio" name="sort" value="post"/>发帖排行
  <input type="radio" name="sort" value="credit0"/>积分排行
  <input type="radio" name="sort" value="credit1"/>金钱排行
  <input type="radio" name="sort" value="onlinetotal"/>在线时间排行	</span>
  <span id="picturesort" style="display:none;">
  <input type="radio" name="sort" value="new" checked="checked"/>最新
  <input type="radio" name="sort" value="pohotst"/>热门	</span>	</td>
</tr>
<tr class="forumtd">
<td>调用记录&nbsp;<input type="text" name="loops" value="10" size="5" class="input2" onblur="this.className='input2'" onfocus="this.className='input1'"  alt='numeric' /></td>
</tr>
<tr class="forumtd">
<td>显示字符&nbsp;<input type="text" name="textlength" value="30"  size="5" class="input2" onblur="this.className='input2'" onfocus="this.className='input1'"  alt='numeric'/></td>
</tr>
<tr class="forumtd">
<td>模板文件&nbsp;<input type="text" name="tmp" value="" size="20" class="input2" onblur="this.className='input2'" onfocus="this.className='input1'"/>&nbsp;(默认使用系统自带的模板文件)</td>
</tr>
<tr class="forumtd">
<td>时间格式&nbsp;<select name="format">
	 <option value="MM-dd" selected="selected">MM-dd</option>
	 <option value="yyyy-MM-dd">MM-dd</option>
	 <option value="yy-MM-dd HH:mm:ss">yy-MM-dd HH:mm:ss</option>
	 </select></td>
</tr>

<tr class="forumtd">
  <td colspan="2"><asp:button ID="btn" CssClass="button" runat="server" Text=" 生成 " OnClick="OnSubmit" /> <asp:TextBox ID="result" runat="server" size="100" class="input2" onblur="this.className='input2'" onfocus="this.className='input1'" /></td>
</tr>
</table>
</div>
</form>